const path = require('path');

module.exports = {
  entry: path.resolve(__dirname, 'p.js'),

  output: {
    path: path.resolve(__dirname, 'dist'),
    clean: true,
    pathinfo: false,
  },
  resolve: {
    alias: {},
  },
  mode: 'development', // development production
  optimization: {
    runtimeChunk: true,
    splitChunks: {
      chunks: 'all',
    },
  },
  plugins: [],
};
